package com.mwaysolutions.ocm;


import javax.jcr.RepositoryException;
import javax.jcr.Workspace;

import org.apache.jackrabbit.core.nodetype.InvalidNodeTypeDefException;


public interface OcmRegister {

	void registerType(Workspace workspace, Class<?> clazz, boolean reregister)
			throws RepositoryException, InvalidNodeTypeDefException;

	void registerType(Workspace workspace, Class<?> clazz, String name, boolean reregister)
			throws RepositoryException, InvalidNodeTypeDefException;

}
